local jianhui = fk.CreateSkill({
  name = "js__jianhui",
  tags = {Skill.Compulsory},
})

jianhui:addEffect(fk.Damaged, {
    can_trigger = function (self, event, target, player, data)
        return target and player:hasSkill(jianhui.name) and target:getMark("@@js__jianhui")~=0
    end,
    on_use = function (self, event, target, player, data)
        player:drawCards(1,jianhui.name)
    end
})

jianhui:addEffect(fk.Damaged, {
    can_trigger = function (self, event, target, player, data)
        return target==player and player:hasSkill(jianhui.name) and data.from and data.from:getMark("@@js__jianhui")==0
    end,
    on_use = function (self, event, target, player, data)
        player.room:addTableMark(data.from, "@@js__jianhui")
    end
})

Fk:loadTranslationTable {
["js__jianhui"] = "奸回",
[":js__jianhui"] = "<b>锁定技</b>,对你造成过伤害的角色受到伤害后,你摸一张牌。",
["$js__jianhui1"] = "一箭之仇，十年不忘。",
["$js__jianhui2"] = "成济王经已死，独我安享富贵。",
["@@js__jianhui"] = "奸回"
}
return jianhui